package com.we.risk.sa.offline;

import java.sql.Timestamp;

public class TableSaEvent {
    public static final String CDH2HIVETABLE = "fdm.sa01_event_data_inc";

    public static final String QUERYSQL =
            "select `time` as bev_time,"
                    + " event,  distinct_id, "
                    + "properties, recv_time, dt from "
                    + CDH2HIVETABLE;

    public Timestamp bev_time;
    public String event;
    public String distinct_id;
    public String properties;
    public Timestamp recv_time;
    public String dt;

    public TableSaEvent(
            Timestamp bev_time,
            String event,
            String distinct_id,
            String properties,
            Timestamp recv_time,
            String dt) {
        this.bev_time = bev_time;
        this.event = event;
        this.distinct_id = distinct_id;
        this.properties = properties;
        this.recv_time = recv_time;
        this.dt = dt;
    }

    public TableSaEvent() {}

    public Timestamp getBev_time() {
        return bev_time;
    }

    public String getEvent() {
        return event;
    }

    public String getDistinct_id() {
        return distinct_id;
    }

    public String getProperties() {
        return properties;
    }

    public Timestamp getRecv_time() {
        return recv_time;
    }

    public String getDt() {
        return dt;
    }
}
